from django.conf.urls import url
from . import views

urlpatterns = [
	url(r'^$',views.index,name='index'),
	url(r'^idcs/$',views.idcs,name='idcs'),
	url(r'^idc/(?P<idc_id>\d+)/$',views.idc,name='idc'),
	url(r'^host/(?P<host_id>\d+)/$',views.host,name='host'),
	url(r'^add_host/(?P<idc_id>\d+)/$',views.add_host,name='add_host'),
	url(r'^edit_host/(?P<host_id>\d+)/$',views.edit_host,name='edit_host'),
	url(r'^add_idc/$',views.add_idc,name='add_idc'),
	url(r'^edit_idc/(?P<idc_id>\d+)/$',views.edit_idc,name='edit_idc'),
]